<!DOCTYPE html>
<html>
<head>
	<title>我的积分</title>
	<meta charset="UTF-8">
	<meta name="author" content="m.wine22.com">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8" />
	<link rel="stylesheet" type="text/css" href="/css/cart.css" />
</head>
<body>
	<#assign title="我的积分">
	<#include "/common/header-user.html">
	
	<div class="order-view-wapper order-view-list">
		<ul>
			<li class="order-view-title">
				<div class="order-view-no">您当前积分为：${(user.memberScore)!0}分</li>
			</li>
		</ul>
	</div>
	
	<#if scores?? && scores?size gt 0>
	<div class="order-view-wapper order-view-list">
		<ul>
			<li class="order-view-title">
				<div class="score-list-item score-list-title score-list-date">日期</div>
				<div class="score-list-item score-list-title score-list-change">变化</div>
				<div class="score-list-item score-list-title score-list-resion">原由</div>
			</li>
			<#list scores as item>
			<li class="order-view-detail clear">
				<div class="score-list-item score-list-date"><#if item.createTime?exists>${(item.createTime)?string("yyyy-MM-dd")}</#if></div>
				<div class="score-list-item score-list-change">${(item.change)!""}${(item.scoreChange)!0}&ensp;分</div>
				<div class="score-list-item score-list-resion">${(item.changeReasonDesc)!"--"}</div>
			</li>
			</#list>
		</ul>
	</div>
	<#else>
	<div class="icon-cart" >
		<span class="icon-order-no"></span>
		<p>暂无记录</p>
	</div>
	</#if>
	
</body>

</html>